#ifndef __BSP_PID_H
#define __BSP_PID_H

#include "stm32f4xx.h"
typedef struct
{
    float Kp;
    float Ki;
    float Kd;
} POSITION_PID_TYPEDEF;

void SetPID(float kp, float ki, float kd);
int PositionPID(int encoder, int target);

#endif
